import cv2
import numpy as np
image=cv2.imread("111.jpeg")
cv2.imshow("BGR",image)
b,g,r=cv2.split(image)
cv2.imshow("B",b)
imgZeros=np.zeros_like(image)
imgZeros[:,:,0]=b
cv2.imshow("chanel B",imgZeros)
cv2.waitKey()
cv2.destroyAllWindows()